﻿
namespace Silvery
{
    public enum AnimatState
    {
        Playing,Stop
    }
    /// <summary>
    /// 播放方式，默认为循环
    /// </summary>
    public enum EmAnimatMode
    {
        Loop, Once
    }
    public interface IAnimat 
    {
        /// <summary>
        /// 精灵播放模式
        /// </summary>
        EmAnimatMode AnimatMode { get; set; }
        /// <summary>
        /// 动画名字
        /// </summary>
        string CurrentAnimatName { get; set; }
        /// <summary>
        /// 动画播放状态
        /// </summary>
        AnimatState CurrentAnimatState { set; get; }
    }
}
